using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Xml.Linq;

namespace ContractDocumentation
{
    enum VisualizerMode { Normal, Inherited };

    class Context
    {
        private IEnumerable<XElement> wsdls;
        public IEnumerable<XElement> Wsdls
        {
            get { return wsdls; }
            set { wsdls = value; }
        }

        private IEnumerable<XElement> schemas;
        public IEnumerable<XElement> Schemas
        {
            get { return schemas; }
            set { schemas = value; }
        }

        private ResourceDictionary resourceDictionary;
        public ResourceDictionary ResourceDictionary
        {
            get { return resourceDictionary; }
            set { resourceDictionary = value; }
        }

        private VisualizerMode visualizerMode;
        public VisualizerMode VisualizerMode
        {
            get { return visualizerMode; }
            set { visualizerMode = value; }
        }

        public Context SubContext()
        {
            return (Context)MemberwiseClone();
        }
    }
}
